import request from '@/utils/request.js'


export const projectListService = ()=>{
    return request.get('/projects/list')
}

export const projectAddService = (projectData)=>{
    return request.post('/projects',projectData)
}

export const projectDeleteService = (id)=>{
    return request.delete('/projects?id='+id)
}

export const projectUpdateService = (projectData)=>{
    return request.put('/projects',projectData)
}